package routers

import (
	"github.com/gin-gonic/gin"
	"permange/controllers"
)

func postsRouter(r *gin.RouterGroup) {
	r.GET("/Posts", controllers.Getposts)
	r.GET("/Posts1", controllers.Getposts_e)
	r.DELETE("/Posts", controllers.Delposts)
	r.PUT("/Posts", controllers.Updateposts)
	r.POST("/Posts", controllers.Addposts)
}
